const Router = require('koa-router')
const { getGroupList, getPersonList, addPerson,search } = require('../controller/tencent.controller')
const { getImageInfo } = require('../middleware/tencent.middleware')
const router = new Router({ prefix: '/tencent' })




router.post('/grouplist', getGroupList)
router.post('/personlist', getPersonList)
router.post('/add', getImageInfo, addPerson)
router.post('/search',getImageInfo,search)

module.exports = router
